<?php
/*
Zoo Management Simulation
The file adds the number of entries to be added to the database
The form takes the user to the add entry page where the user inputs information for each entry
*/

include("dbconnect.php");
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Add Number of Entries</title>
<link href="mainstyle.css" rel="stylesheet" type="text/css" />
</head>

<body>
<h1>Add Number of Entries</h1>

<form id="addEntryForm" name="addEntryForm" method="post" enctype="multipart/form-data" action="addCageEntry.php">
<table id="zootable" width="100%" border="1">
  <tr>
    <td id="tableheader"><label for="numentry">Number of entries</label></td>
  </tr>
  <tr>
    <td><input type="number" name="numentry" id="numentry" /></td>
  </tr>
</table>
<br />
	<?php
	echo "<input type='hidden' name='cageid' value='".$_REQUEST['cageid'] . "' />";	
	?>
<input type="submit" name="submit" id="submit" value="Add Cage Entries" />
<input type="submit" name="submit" id="submit" value="Return to Administator page" />
</form>

</body>
</html>